function logout() {
    let isOut = confirm("真的要离开了吗？")

    if (isOut) {
        swal("退出", "退出成功", "success")

        setTimeout(function () {
            localStorage.removeItem('token')
            location.href = '/public/login'
        }, 1000)
    }
}

function reservationPage() {
    location.href = '/public/reservation'
}

